home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dash.config < prev    next >
Text File  |  2008-06-20  |  552b  |  40 lines

  1. #!/bin/sh
  2. #
  3. # debconf script for the Debian GNU/Linux ash package
  4. #
  5. # $Id: dash.config,v 1.1 2002/09/14 06:17:50 herbert Exp $
  6.  
  7. set -e
  8.  
  9. . /usr/share/debconf/confmodule
  10.  
  11. db_version 2.0
  12.  
  13. if [ "$1" = configure ] && [ -z "$2" ]; then
  14.     set +e
  15.     db_fget ash/sh seen
  16.     err=$?
  17.     set -e
  18.  
  19.     case $err in
  20.     0)
  21.         if [ "$RET" = true ]; then
  22.             db_fset dash/sh seen true
  23.             db_get ash/sh
  24.             db_set dash/sh "$RET"
  25.             exit
  26.         fi
  27.         ;;
  28.     10)
  29.         # ash/sh does not exist
  30.         ;;
  31.     *)
  32.         echo "db_fget exited with $err" >&2
  33.         exit $err
  34.         ;;
  35.     esac
  36. fi
  37.  
  38. db_input low dash/sh || true
  39. db_go
  40.